package springboard.auth.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
public class Role implements Serializable {

    @ApiModelProperty("键值")
    @TableId
    String key;

    @ApiModelProperty("描述")
    String label;

    @ApiModelProperty("是否为预定义")
    @TableField(exist = false)
    boolean isPredefined = false;

}
